<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="vue.js"></script>
</head>
<body>
    <!-- 根标签 -->
     <div id="app">
        <!-- 插入msg数据 -->
        <p>{{msg}}</p>
     </div>

     <script>
        var vm = new Vue({
            // 挂载根标签
            el: '#app',
            data: {
                msg: 'Hello Vue.js'
            }
        })
     </script>
</body>
</html>